package com.bwie.doctor.mapper;

import com.bwie.doctor.domain.po.MedOrderDetails;
import com.bwie.doctor.domain.vo.MedOrderDetailsQuery;
import com.bwie.doctor.domain.vo.MedOrderDetailsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MedOrderDetailsMapper {
    /**
     * 医生收入列表
     * @return
     */
    List<MedOrderDetailsQuery> queryIncomeList(@Param("medOrderDetailsQuery") MedOrderDetailsQuery medOrderDetailsQuery);

    /**
     * 医生订单列表
     */
    List<MedOrderDetailsVo> queryOrderList(@Param("consultationType") Integer consultationType);

    /**
     * 患者订单详情
     */
    MedOrderDetailsVo queryOrderDetails(@Param("orderId") Long orderId);
}
